package me.hys.entity.doctor;

import java.sql.Timestamp;

import lombok.Data;
import lombok.EqualsAndHashCode;
import me.hys.base.BaseEntity;

import com.fasterxml.jackson.annotation.JsonIgnore;

/**
 * Author: @author HYS . <br>
 * Date: 2015-9-23 下午10:39:31 . <br>
 * Function: 预约
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class ReservationEntity extends BaseEntity {
	/**
	 * @Fields : 医生ID
	 */
	private int patientId;

	/**
	 * @Fields : 患者ID
	 */
	private int doctorId;

	/**
	 * @Fields : 预约时间
	 */
	// @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Timestamp rvtTime;

	/**
	 * @Fields : 状态
	 */
	@JsonIgnore
	private int status;

	/**
	 * @Fields : 创建时间
	 */
	@JsonIgnore
	private Timestamp createTime;
}
